package com.android.jcyl.rerijaapps.empleo.database;

import android.content.Context;

import com.turbomanage.storm.DatabaseHelper;
import com.turbomanage.storm.api.Database;
import com.turbomanage.storm.api.DatabaseFactory;

@Database( name = ProjectDatabase.DB_NAME, version = ProjectDatabase.DB_VERSION )
public class ProjectDatabase extends DatabaseHelper
{
	public static final String DB_NAME = "empleo_db";
    public static final int DB_VERSION = 1;
    
    public ProjectDatabase( Context ctx, DatabaseFactory dbFactory ) 
    {
        super( ctx, dbFactory );
    }

	@Override
	public UpgradeStrategy getUpgradeStrategy() 
	{
		return UpgradeStrategy.DROP_CREATE;
	}
    
}
